from core.language.models import Language
from django.contrib import admin
from functions.admin import AdminFunctions

class LanguageAdmin(admin.ModelAdmin, AdminFunctions):
    list_display = ('name', 'culture', 'list_image', 'default', 'active', 'actions_button')
    ordering = ('-name',)
    search_fields = ('name',)
    
admin.site.register(Language, LanguageAdmin)